using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Linq;
using System.Data.Linq.Mapping;

namespace LinqHelper.Entity
{
	[Table(Name = "Photos")]
	public class LqPhotosEntity
	{
		Guid _Id;
		
		[Column(DbType = "uniqueidentifier NOT NULL", IsPrimaryKey = true)]
        public Guid Id
        {
            set
            {
                _Id = value;
            }
            get
            {
                return _Id;
            }
        }
        
		string _PhotoPath;
		
		[Column(DbType = "varchar(1024) NOT NULL", IsPrimaryKey = false)]
        public string PhotoPath
        {
            set
            {
                _PhotoPath = value;
            }
            get
            {
                return _PhotoPath;
            }
        }
        
		string _FileType;
		
		[Column(DbType = "varchar(10) NOT NULL", IsPrimaryKey = false)]
        public string FileType
        {
            set
            {
                _FileType = value;
            }
            get
            {
                return _FileType;
            }
        }
        
		DateTime _CreatedDate;
		
		[Column(DbType = "datetime NOT NULL", IsPrimaryKey = false)]
        public DateTime CreatedDate
        {
            set
            {
                _CreatedDate = value;
            }
            get
            {
                return _CreatedDate;
            }
        }
        
	}
}
